package com.ysu.his.entity.registration;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ysu.his.base.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 挂号信息实体类
 */
@Data
public class Registration extends BaseEntity
{
    //唯一标识
    private Long id;

    //患者Id
    private Long patientId;

    //科室id
    private Long departmentId;

    //医生id
    private Long doctorId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date registrationTime;

    //支付状态 0：未支付 1：已支付
    private String payStatus;

}
